package cn.kgc.mybatis.mapper;

import cn.kgc.mybatis.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/2/8
 * @Description:
 */
public interface UserMapper {

    List<User> search(@Param("username") String username, @Param("state") Integer state);

    Integer updateUser(User user);

    Integer  deleteByIds(List<Integer> ids);
}
